﻿using PureMVC.Interfaces;
using System.Collections.Generic;

namespace Rail.Base
{
    public class BaseMediator : PureMVC.Patterns.Mediator, IMediator
    {
        public BaseMediator(object viewComponent) : base(NAME, viewComponent)
        {
        }
        /// <summary>
        /// 监听消息
        /// </summary>
        /// <returns></returns>
        public override IList<string> ListNotificationInterests()
        {
            IList<string> list = new List<string>();
            return list;
        }
        /// <summary>
        /// 处理消息
        /// </summary>
        /// <param name="note"></param>
        public override void HandleNotification(INotification note)
        {
            switch (note.Name)
            {
                ///定位消息
                case "":
                    break;
            }
        }
    }
}
